﻿<Window x:Class="CP.NLayer.Client.WpfClient.Main.Shell"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        xmlns:prism="http://www.codeplex.com/prism"
        xmlns:l="http://wpflocalizeextension.codeplex.com"
        l:LocalizeDictionary.DesignCulture="zh"
        l:ResxLocalizationProvider.DefaultAssembly="CP.NLayer.Resources"
        l:ResxLocalizationProvider.DefaultDictionary="UiResources"
        Title="{l:Loc AppName}"  WindowState="Maximized" MinWidth="1024" MinHeight="700" 
        Icon="/CP.NLayer.Client.WpfClient.Main;component/Resources/icons/main.png">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*" />
            <ColumnDefinition Width="2*" />
            <ColumnDefinition Width="900" />
            <ColumnDefinition Width="2*" />
            <ColumnDefinition Width="1*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="2*" />
            <RowDefinition Height="1*" />
            <RowDefinition Height="640" />
            <RowDefinition Height="1*" />
            <RowDefinition Height="2*" />
        </Grid.RowDefinitions>
        <!--<ContentControl Grid.Row="1" Grid.Column="1" Grid.RowSpan="3" Grid.ColumnSpan="3" prism:RegionManager.RegionName="ApplicationRegion" DataContext="{Binding Data}" />-->
        <Grid Grid.Row="1" Grid.Column="1" Grid.RowSpan="3" Grid.ColumnSpan="3">
            <Grid.RowDefinitions>
                <RowDefinition Height="50" />
                <RowDefinition Height="10" />
                <RowDefinition Height="*" />
            </Grid.RowDefinitions>
            <ContentControl prism:RegionManager.RegionName="MainHeaderRegion" IsTabStop="False" />

            <Grid Grid.Row="2">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto" MinWidth="150"/>
                    <ColumnDefinition Width="10" />
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>
                <ItemsControl prism:RegionManager.RegionName="MainNavigationRegion" IsTabStop="False" />
                <ContentControl Grid.Column="2" prism:RegionManager.RegionName="MainContentRegion" IsTabStop="False" />
            </Grid>
        </Grid>
    </Grid>
</Window>
